﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XTYAPI.PLC
{

    public static partial class FC
    {
        static On_Off_Clk on_Off_Clk_1s = new On_Off_Clk();
        /// <summary>
        /// 1秒钟时钟 On500ms，Off500ms
        /// </summary>
        public static bool Get1sClk()
        {
           return on_Off_Clk_1s.GetOn_Off_Clk(50f,1000);
        }
    }
}
